// vite.config.ts
import vue from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import { defineConfig, loadEnv } from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/vite/dist/node/index.js";
import vueSetupExtend from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/vite-plugin-vue-setup-extend/dist/index.mjs";
import compression from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/vite-plugin-compression2/dist/index.mjs";

// src/utils/build.ts
import importToCDN from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/vite-plugin-cdn-import/dist/index.js";
var buildConfig = {
  cdn() {
    return importToCDN({
      prodUrl: "https://unpkg.com/{name}@{version}/{path}",
      modules: [
        // autoComplete('vue'),
        // autoComplete('axios'),
        {
          name: "vue",
          var: "Vue",
          path: "dist/vue.global.js"
        },
        {
          name: "vue-demi",
          var: "VueDemi",
          path: "lib/index.iife.js"
        },
        {
          name: "vue-router",
          var: "VueRouter",
          path: "dist/vue-router.global.js"
        },
        {
          name: "element-plus",
          var: "ElementPlus",
          path: "dist/index.full.js"
        }
        // {
        // 	name: '@element-plus/icons-vue',
        // 	var: 'ElementPlusIconsVue',
        // 	path: 'dist/index.iife.min.js',
        // },
        // {
        // 	name: 'echarts',
        // 	var: 'echarts',
        // 	path: 'dist/echarts.min.js',
        // },
        // {
        // 	name: 'echarts-gl',
        // 	var: 'echarts-gl',
        // 	path: 'dist/echarts-gl.min.js',
        // },
        // {
        // 	name: 'echarts-wordcloud',
        // 	var: 'echarts-wordcloud',
        // 	path: 'dist/echarts-wordcloud.min.js',
        // },
        // {
        // 	name: 'vue-i18n',
        // 	var: 'VueI18n',
        // 	path: 'dist/vue-i18n.global.min.js',
        // },
        // {
        // 	name: 'jsplumb',
        // 	var: 'jsPlumb',
        // 	path: 'dist/js/jsplumb.min.js',
        // },
        // {
        // 	name: 'cropperjs',
        // 	var: 'Cropper',
        // 	path: 'dist/cropper.min.js',
        // },
        // {
        // 	name: 'sortablejs',
        // 	var: 'Sortable',
        // 	path: 'Sortable.min.js',
        // },
        // {
        // 	name: 'qrcodejs2-fixes',
        // 	var: 'QRCode',
        // 	path: 'qrcode.min.js',
        // },
        // {
        // 	name: 'print-js',
        // 	var: 'printJS',
        // 	path: 'dist/print.min.js',
        // },
        // {
        // 	name: '@wangeditor/editor',
        // 	var: 'wangEditor',
        // 	path: 'dist/index.min.js',
        // },
        // {
        // 	name: '@wangeditor/editor-for-vue',
        // 	var: 'WangEditorForVue',
        // 	path: 'dist/index.min.js',
        // },
        // {
        // 	name: 'vue-grid-layout',
        // 	var: 'VueGridLayout',
        // 	path: 'https://cdn.jsdelivr.net/npm/vue-grid-layout@3.0.0-beta1/dist/vue-grid-layout.umd.min.js',
        // },
      ]
    });
  },
  external: [
    "vue",
    // 'axios',
    "vue-router",
    "element-plus"
    // '@element-plus/icons-vue',
    // 'echarts',
    // 'echarts-gl',
    // 'echarts-wordcloud',
    // 'vue-i18n',
    // 'jsplumb',
    // 'cropperjs',
    // 'sortablejs',
    // 'qrcodejs2-fixes',
    // 'print-js',
    // '@wangeditor/editor',
    // '@wangeditor/editor-for-vue',
    // 'vue-grid-layout',
  ]
};

// vite.config.ts
import vueJsx from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import { CodeInspectorPlugin } from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/code-inspector-plugin/dist/index.mjs";
import fs from "fs";
import { visualizer } from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/rollup-plugin-visualizer/dist/plugin/index.js";
import { webUpdateNotice } from "file:///F:/code/school/industry/Admin.NET/Web/node_modules/@plugin-web-update-notification/vite/dist/index.js";
var __vite_injected_original_dirname = "F:\\code\\school\\industry\\Admin.NET\\Web";
var pathResolve = (dir) => {
  return resolve(__vite_injected_original_dirname, ".", dir);
};
var alias = {
  "/@": pathResolve("./src/"),
  "vue-i18n": "vue-i18n/dist/vue-i18n.cjs.js"
};
var viteConfig = defineConfig((mode) => {
  const env = loadEnv(mode.mode, process.cwd());
  fs.writeFileSync("./public/config.js", `window.__env__ = ${JSON.stringify(env, null, 2)} `);
  return {
    plugins: [
      visualizer({ open: false }),
      // 开启可视化分析页面
      CodeInspectorPlugin({
        bundler: "vite",
        hotKeys: ["shiftKey"]
      }),
      vue(),
      vueJsx(),
      webUpdateNotice({
        versionType: "build_timestamp",
        notificationConfig: {
          placement: "topLeft"
        },
        notificationProps: {
          title: "\u{1F4E2} \u7CFB\u7EDF\u66F4\u65B0",
          description: "\u7CFB\u7EDF\u66F4\u65B0\u5566\uFF0C\u8BF7\u5237\u65B0\u9875\u9762\uFF01",
          buttonText: "\u5237\u65B0",
          dismissButtonText: "\u5FFD\u7565"
        }
      }),
      vueSetupExtend(),
      compression({
        deleteOriginalAssets: false,
        // 是否删除源文件
        threshold: 5120,
        // 对大于 5KB 文件进行 gzip 压缩，单位Bytes
        skipIfLargerOrEqual: true
        // 如果压缩后的文件大小等于或大于原始文件，则跳过压缩
        // algorithm: 'gzip', // 压缩算法，可选[‘gzip’，‘brotliCompress’，‘deflate’，‘deflateRaw’]
        // exclude: [/\.(br)$/, /\.(gz)$/], // 排除指定文件
      }),
      JSON.parse(env.VITE_OPEN_CDN) ? buildConfig.cdn() : null
    ],
    root: process.cwd(),
    resolve: { alias },
    base: mode.command === "serve" ? "./" : env.VITE_PUBLIC_PATH,
    optimizeDeps: { exclude: ["vue-demi"] },
    server: {
      host: "0.0.0.0",
      port: env.VITE_PORT,
      open: JSON.parse(env.VITE_OPEN),
      hmr: true,
      proxy: {
        "^/[Uu]pload": {
          target: env.VITE_API_URL,
          changeOrigin: true
        }
      }
    },
    build: {
      outDir: "dist",
      chunkSizeWarningLimit: 1500,
      assetsInlineLimit: 5e3,
      // 小于此阈值的导入或引用资源将内联为 base64 编码
      sourcemap: false,
      // 构建后是否生成 source map 文件
      extractComments: false,
      // 移除注释
      minify: "terser",
      // 启用后 terserOptions 配置才有效
      terserOptions: {
        compress: {
          drop_console: true,
          // 生产环境时移除console
          drop_debugger: true
        }
      },
      rollupOptions: {
        output: {
          chunkFileNames: "assets/js/[name]-[hash].js",
          // 引入文件名的名称
          entryFileNames: "assets/js/[name]-[hash].js",
          // 包的入口文件名称
          assetFileNames: "assets/[ext]/[name]-[hash].[ext]",
          // 资源文件像 字体，图片等
          manualChunks(id) {
            if (id.includes("node_modules")) {
              return id.toString().match(/\/node_modules\/(?!.pnpm)(?<moduleName>[^\/]*)\//)?.groups.moduleName ?? "vender";
            }
          }
        },
        ...JSON.parse(env.VITE_OPEN_CDN) ? { external: buildConfig.external } : {}
      }
    },
    css: { preprocessorOptions: { css: { charset: false } } },
    define: {
      __VUE_I18N_LEGACY_API__: JSON.stringify(false),
      __VUE_I18N_FULL_INSTALL__: JSON.stringify(false),
      __INTLIFY_PROD_DEVTOOLS__: JSON.stringify(false),
      __NEXT_VERSION__: JSON.stringify(process.env.npm_package_version),
      __NEXT_NAME__: JSON.stringify(process.env.npm_package_name)
    }
  };
});
var vite_config_default = viteConfig;
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAic3JjL3V0aWxzL2J1aWxkLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiRjpcXFxcY29kZVxcXFxzY2hvb2xcXFxcaW5kdXN0cnlcXFxcQWRtaW4uTkVUXFxcXFdlYlwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRjpcXFxcY29kZVxcXFxzY2hvb2xcXFxcaW5kdXN0cnlcXFxcQWRtaW4uTkVUXFxcXFdlYlxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRf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